<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;


Route::group(function () {
    Route::post('getVerify', 'Login/getVerify'); //验证码//验证码
    Route::post('userLogin', 'Login/userLogin'); //登陆
    Route::post('outLogin', 'Login/outLogin'); //退出登陆
    Route::get('getUserAliasIdOp', 'SystemSettings/getUserAliasIdOp'); //获取菜单按钮


    /**
     * 文件上传
     */
    Route::post('uploads','Image/uploads');



    /**
     * 首页
     */
    Route::post('sign', 'SystemSignIn/sign');//签到工作日
    Route::get('getIndexSignData', 'SystemSignIn/getIndexSignData');//首页获取当日签到情况

    Route::get('index', 'Index/index');//首页
    Route::get('getErLeiPhb', 'Index/getErLeiPhb');//第二行
    Route::get('getTarget', 'Index/getTarget');//获取个人|月份目标
    Route::post('setTarget', 'Index/setTarget');//设置个人|月份目标
    Route::post('setMoonWeekDay', 'Index/setMoonWeekDay');//设置月工作日
    Route::get('getCircumferenceTarget', 'Index/getCircumferenceTarget');//获取个人|周目标
    Route::post('setCircumferenceTarget', 'Index/setCircumferenceTarget');//设置个人|周目标

    Route::get('erleizoushitu', 'Index/erleizoushitu');//Ⅱ类业绩走势图
    Route::get('trend', 'Index/trend');//Ⅱ类业绩走势图年
    Route::get('index2Moon', 'Index/index2Moon');//Ⅱ类业绩走势图月
    Route::get('getTwoTypeCompany', 'Index/getTwoTypeCompany');//Ⅱ类业绩概况（公司--部门--人员--个人）
    Route::get('getTwoTypeCompanys', 'Index/getTwoTypeCompanys');//Ⅱ类业绩概况（公司--部门--人员--个人）
    Route::get('getWeekData', 'Index/getWeekData');//Ⅱ类业绩周内人员详情

    //个人中心
    Route::get('getUserInfo', 'SystemUser/getUserInfo');//个人中心
    Route::post('setUserImg', 'SystemUser/setUserImg');//更新用户头像
    Route::post('setUserSignature', 'SystemUser/setUserSignature');//设置用户签名

    Route::get('getSystemInfo', 'Index/getSystemInfo');//获取信息公示
    Route::get('getSystemNotice', 'Index/getSystemNotice');//获取系统公告


    /*************************************************
     * 消息列表
     */
    Route::get('getMessageList', 'UserMessage/getMessageList');//获取消息列表
    Route::get('getMessageDetails', 'UserMessage/getMessageDetails');//获取消息详情
    Route::post('setMessageMark', 'UserMessage/setMessageMark');//全部标记已读
    Route::post('delMessage', 'UserMessage/delMessage');//删除消息
    Route::post('setMessLater', 'UserMessage/setMessLater');//消息稍后处理
    Route::post('getUncollectedReason', 'UserMessage/getUncollectedReason');//添加未收款原因
    Route::post('readMsg', 'UserMessage/readMsg');//处理消息



    /******************************************************************************
     * 公共表单操作按钮
     */
    //添加闹铃提醒
    Route::post ('addFromRemind','FromButton/addFromRemind');
    Route::post ('personImportExcel','FromButton/personImportExcel');//人才导入
    Route::rule ('personExportExcel','FromButton/personExportExcel');//人才导出
    Route::post ('enterImportExcel','FromButton/enterImportExcel');//企业导入
    Route::rule ('enterExportExcel','FromButton/enterExportExcel');//企业导出
    Route::rule ('czdwExportExcel','FromButton/czdwExportExcel');//出证单位导出
    Route::rule ('enterExportExcel','FromButton/enterExportExcel');//聘用单位导出
    Route::rule ('enterExportExcel','FromButton/enterExportExcel');//注册单位导出
    Route::rule ('yjzbExportExcel','FromButton/yjzbExportExcel');//业绩总表导出
    Route::rule ('skdExportExcel','FromButton/skdExportExcel');//收款单导出
    Route::rule ('fkdExportExcel','FromButton/fkdExportExcel');//付款单导出
    Route::rule ('zsshExportExcel','FromButton/zsshExportExcel');//证书审核导出
    Route::rule ('zsblExportExcel','FromButton/zsblExportExcel');//证书办理导出
    Route::rule ('qyzsExportExcel','FromButton/qyzsExportExcel');//企业证书导出
    Route::rule ('zszcGszsExportExcel','FromButton/zszcGszsExportExcel');//证书注册-公司证书导出
    Route::rule ('qyzsExportExcel','FromButton/qyzsExportExcel');//证书注册-成交订单导出
    Route::rule ('zszcDzExportExcel','FromButton/zszcDzExportExcel');//证书注册-倒证导出
    Route::rule ('zszcGsxqExportExcel','FromButton/zszcGsxqExportExcel');//证书注册-公司需求导出
    Route::rule ('companyOrderCreate','FromButton/companyOrderCreate');//证书注册-已售出
    Route::rule ('companyRegComplete','FromButton/companyRegComplete');//证书注册-证书注册完成



    Route::post('personAutoRecall', 'FromButton/personAutoRecall');//添加自动调回人才
    Route::post('personRecovery', 'FromButton/personRecovery');//添加自动回收人才

    Route::post('enterAutoRecall', 'FromButton/enterAutoRecall');//添加自动调回企业
    Route::post('enterRecovery', 'FromButton/enterRecovery');//添加自动回收企业
    Route::get('getAutoWhereData', 'FromButton/getAutoWhereData');//查看自动任务

    Route::post('personAutoRecallExe', 'FromButton/personAutoRecallExe');//执行自动调回人才

    Route::rule('downLoadFile', 'FromButton/downLoadFile');//重命名下载文件



    /***************************************************************************************************************************************************
     * 计划任务
     */
    //跟进计划
    Route::get('getUidPlanList', 'PlanTasks/getUidPlanList');//获取个人跟进计划
    Route::get('getPlanList', 'PlanTasks/getPlanList');//获取管理跟进计划
    Route::get('GetDayData', 'PlanTasks/GetDayData');//获取某天跟进计划
    Route::post('addPlan', 'PlanTasks/addPlan'); //添加跟进计划
    Route::post('editPlan', 'PlanTasks/editPlan'); //编辑跟进计划
    Route::post('delPlan', 'PlanTasks/delPlan'); //删除跟进计划
    Route::post('completePlan', 'PlanTasks/completePlan'); //完成跟进计划
    Route::rule('planExportExcel', 'FromButton/planExportExcel');//跟进计划导出
    Route::post('planImportExcel', 'FromButton/planImportExcel');//跟进计划导入
    Route::rule('tasksExportExcel', 'FromButton/tasksExportExcel');//任务提醒导出
    Route::post('tasksImportExcel', 'FromButton/tasksImportExcel');//任务提醒导入
    Route::rule('personHszExportExcel', 'FromButton/personHszExportExcel');//回收站人才导出
    Route::rule('enterHhzExportExcel', 'FromButton/enterHhzExportExcel');//回收站企业导出


    //任务提醒
    Route::get('getTasksList', 'PlanTasks/getTasksList'); //获取管理任务提醒
    Route::get('getUidTasksList', 'PlanTasks/getUidTasksList'); //获取个人任务提醒
    Route::get('getTasksDayData', 'PlanTasks/getTasksDayData');//获取某天跟进计划

    Route::post('addTasks', 'PlanTasks/addTasks'); //添加任务提醒
    Route::post('delPlan', 'PlanTasks/delPlan'); //删除任务提醒
    Route::post('editPlan', 'PlanTasks/editPlan'); //编辑任务提醒
    Route::post('completePlan', 'PlanTasks/completePlan'); //完成任务提醒


    /***************************************************************************************************************************************************
     * 线索库
     */
    //人才库

    Route::post('addPerson', 'CluePersonAbility/addPerson');//添加人才
    Route::post('editPersonBasicInfo', 'CluePersonAbility/editPersonBasicInfo');//修改人才基础信息
    Route::post('setZD', 'CluePersonAbility/setZD');//重点客户设置

    Route::post('addPersonOtherCertificate', 'CluePersonAbility/addPersonOtherCertificate');//添加其他证书
    Route::post('editPersonOtherCertificate', 'CluePersonAbility/editPersonOtherCertificate');//修改其他证书
    Route::post('delPersonOtherCertificate', 'CluePersonAbility/delPersonOtherCertificate');//删除其他证书

    Route::post('editPersonMobile', 'CluePersonAbility/editPersonMobile');//修改人才联系电话
    Route::post('delMobile', 'CluePersonAbility/delMobile');//删除人才联系电话
    Route::post('addMobile', 'CluePersonAbility/addMobile');//添加人才联系电话

    Route::post('addPersonOtherCommunicate', 'CluePersonAbility/addPersonOtherCommunicate');//添加人才沟通记录
    Route::post('editPersonOtherCommunicate', 'CluePersonAbility/editPersonOtherCommunicate');//修改人才沟通记录
    Route::post('delPersonOtherCommunicate', 'CluePersonAbility/delPersonOtherCommunicate');//删除人才沟通记录

    Route::get('getPersonFrom', 'CluePersonAbility/getPersonFrom');//获取添加人才表单

    Route::get('personList', 'CluePersonAbility/personList');//管理人才列表
    Route::get('uPersonList', 'CluePersonAbility/uPersonList');//个人人才列表
//    Route::get('getMobileStatus', 'CluePersonAbility/getMobileStatus');//获取电话状态select
    Route::post('idCardCheckRepeat', 'CluePersonAbility/idCardCheckRepeat');//身份证查重
    Route::get('getPersonDetails', 'CluePersonAbility/getPersonDetails');//查询人才详细信息
    Route::get('getSelectOption', 'CluePersonAbility/getSelectOption');//根据条件查询select值

    //人才库按钮
    Route::post('recoveryPersonOp', 'FromButton/recoveryPersonOp'); //批量回收人才
    Route::post('delPerson', 'FromButton/delPerson');//删除人才
    Route::post('allocationPerson', 'FromButton/allocationPerson');//分配人才
    Route::post('autoAllocationPerson', 'FromButton/autoAllocationPerson');//一键分配人才
    Route::post('recallPerson', 'FromButton/recallPerson');//调回人才



    //线索库订单管理

    Route::post('orderRedirect', 'CertificateRegister/orderRedirect');//订单录入重定向
    Route::get('getEnterSelect', 'CertificateRegister/getEnterSelect');//证书类型select值
    Route::get('getBusinessHeadDetails', 'CertificateRegister/getBusinessHeadDetails');//证书负责人

    Route::get('getPersonEnterpriseCertificateFrom', 'CertificateRegister/getPersonEnterpriseCertificateFrom');//人才证书注册表单
    Route::post('addRegisterCertificate', 'CertificateRegister/addRegisterCertificate');//人才证书注册添加
    Route::get('subsidiaryBusiness', 'CertificateRegister/subsidiaryBusiness');//附属业务分类


    Route::get('getPersonCertificateRegisterForm', 'CertificateRegister/getPersonCertificateRegisterForm');//人才证书办理表单
    Route::post('addHandleCertificate', 'CertificateRegister/addHandleCertificate');//人才证书办理添加

    Route::get('getPersonCertificateHandleFrom', 'CertificateRegister/getPersonCertificateHandleFrom');//企业证书办理表单
    Route::post('addEnterpriseCertificate', 'CertificateRegister/addEnterpriseCertificate');//企业证书办理添加

    //企业库

    Route::get('getAreaTree', 'ClueEnterprise/getAreaTree');//获取所属区域tree
    Route::get('getPersonEnterpriseList', 'ClueEnterprise/getPersonEnterpriseList');//个人查看企业列表
    Route::get('getManageEnterpriseList', 'ClueEnterprise/getManageEnterpriseList');//管理查看企业列表
    Route::get('getEnterPriseDetails', 'ClueEnterprise/getEnterPriseDetails');//查看企业详情

    Route::post('addEnterprise', 'ClueEnterprise/addEnterprise');//添加企业
    Route::post('editEnterprise', 'ClueEnterprise/editEnterprise');//修改企业基本信息
    Route::post('delEnterprice', 'ClueEnterprise/delEnterprice');//删除企业

    Route::post('addEnterpriseMobile', 'ClueEnterprise/addEnterpriseMobile');//添加企业联系电话
    Route::post('delEnterpriseMobile', 'ClueEnterprise/delEnterpriseMobile');//删除企业联系电话
    Route::post('editEnterpriseMobile', 'ClueEnterprise/editEnterpriseMobile');//修改企业联系电话

    //企业库订单管理
    Route::post('addRegEnterpriseCertificate', 'CertificateRegister/addRegEnterpriseCertificate');//证书注册
    Route::post('addExchangeCertificate', 'CertificateRegister/addExchangeCertificate');//倒证

    //企业库按钮
    Route::post('delEnter', 'FromButton/delEnter');//删除企业
    Route::post('allocationEnter', 'FromButton/allocationEnter');//分配企业
    Route::post('autoAllocationEnter', 'FromButton/autoAllocationEnter');//一键分配人才
    Route::post('recoveryEnterOp', 'FromButton/recoveryEnterOp'); //批量回收企业
    Route::post('recallEnter', 'FromButton/recallEnter');//调回企业
    Route::post('queue', 'FromButton/enterpriseCertRegistrationQueue');//企业证书注册公司需求排队按钮
    Route::post('back', 'FromButton/enterpriseCertRegistrationback');//企业证书注册公司需求退回按钮

    //回收站
    Route::get('personRecycleList', 'CluePersonAbility/personRecycleList');//人才回收站列表
    Route::get('enterpirseRecycleList', 'CluePersonAbility/enterpirseRecycleList');//企业回收站列表


    /***************************************************************************************************************************************************
     * 公示栏
     */
    Route::get('getPersonList', 'Publicity/getPersonList');//公示栏人才列表
    Route::get('getDepartmentUserList', 'Publicity/getDepartmentUserList');//通过部门ID获取部门下人员
    Route::post('addPublicPerson', 'Publicity/addPublicPerson');//公示栏人才新建
    Route::post('addCollectCer', 'Publicity/addCollectCer');//公示栏人才添加收藏
    Route::post('delCollectCer', 'Publicity/delCollectCer');//公示栏人才取消收藏

    Route::post('personSaleRule', 'Publicity/personSaleRule');//公示栏新建销售规则
    Route::get('getRuleList', 'Publicity/getRuleList');//公示栏获取销售规则
    Route::post('delRule', 'Publicity/delRule');//公示栏删除销售规则
    Route::post('editRule', 'Publicity/editRule');//公示栏修改销售规则

    Route::post('delPersonCertificate', 'Publicity/delPersonCertificate');//公示栏人才删除
    Route::post('editPersonCertificate', 'Publicity/editPersonCertificate');//公示栏人才编辑

    Route::get('getEnterpriseList', 'Publicity/getEnterpriseList');//公示栏企业列表
    Route::post('delEnterCertificate', 'Publicity/delEnterCertificate');//公示栏企业删除
    Route::post('editEnterCertificate', 'Publicity/editEnterCertificate');//公示栏企业编辑
    Route::get('getInvertedEvidenceInfo', 'Order/getInvertedEvidenceInfo');//公示栏成交前获取资料
    Route::post('editEnterPriseCerInvertedEvidenceSubmit', 'Order/editEnterPriseCerInvertedEvidenceSubmit');//公示栏企业成交

    Route::get('PublicityEnterExportExcel', 'Publicity/PublicityEnterExportExcel');//公示栏导出企业
    Route::get('PublicityPersonExportExcel', 'Publicity/PublicityPersonExportExcel');//公示栏导出企业

    Route::post('setPublicRollRule', 'Publicity/setPublicRollRule');//设置公示栏滚动规则
    Route::get('getPublicRollRule', 'Publicity/getPublicRollRule');//获取公示栏滚动规则



    /***************************************************************************************************************************************************
     * 客户管理
     */
    Route::get('getCustomPersonList', 'CustomManage/getCustomPersonList');//客户 人才列表
    Route::get('getCustomEnterPriseList', 'CustomManage/getCustomEnterPriseList');//客户 企业列表
    Route::get('getCustomOtherList', 'CustomManage/getCustomOtherList');//客户 其他列表
    Route::get('getUnitDetails','CustomManage/getUnitDetails');//获取单条信息
    Route::post('delCustomOther', 'CustomManage/delCustomOther');// 删除其他客户
    Route::post('editCustomOther', 'CustomManage/editCustomOther');// 编辑其他客户


    /***************************************************************************************************************************************************
     * 订单管理
     */
    Route::get('getCertificateExamineList', 'Order/getCertificateExamineList');//证书审核列表
    Route::get('getCertificateExamineDetails', 'Order/getCertificateExamineDetails');//证书审核详情
    Route::post('setCertificatePass', 'Order/setCertificatePass');//证书审核通过
    Route::post('CertificateReject', 'Order/CertificateReject');//证书审核驳回
    Route::post('delCertificate', 'Order/delCertificate');//证书审核删除
    Route::post('editCertificate', 'Order/editCertificate');//证书审核编辑

    Route::get('getEnterPriseCerRegList', 'Order/getEnterPriseCerRegList');//证书注册企业证书
    Route::get('getEnterPriseCerDetails', 'Order/getEnterPriseCerDetails');//证书注册企业详情

    Route::post('delEnterPrise', 'Order/delEnterPrise');//企业需求删除
    Route::post('delEnterDeal', 'Order/delEnterDeal');//公司证书删除
    Route::post('editEnterPriseCertificate', 'Order/editEnterPriseCertificate');//企业证书修改
    Route::get('mateEnterPrise', 'Order/mateEnterPrise');//企业证书匹配

    Route::get('getDemand', 'Order/getDemand');//获取第二步补充资料
    Route::post('subPersonInfo', 'Order/subPersonInfo');//企业证书匹配-》第二步填写人才资料

    Route::get('getSubUnit', 'Order/getSubUnit');//企业证书匹配-》获取需要补充的资料
    Route::post('subUnitInfo', 'Order/subUnitInfo');//企业证书匹配-》第三步填写聘用单位资料

    Route::get('getCompanyList', 'Order/getCompanyList');//已经成交的公司证书
    Route::get('getCompanyDetails', 'Order/getCompanyDetails');//已经成交的公司证书详情
    Route::post('delCompany', 'Order/delCompany');//已经成交的公司证书删除
    Route::post('editCompany', 'Order/editCompany');//已经成交的公司证书编辑


    Route::get('getEnterPriseCerInvertedEvidenceList', 'Order/getEnterPriseCerInvertedEvidenceList');//证书注册倒证列表
    Route::get('getEnterPriseCerInvertedEvidenceDetails', 'Order/getEnterPriseCerInvertedEvidenceDetails');//证书注册倒证详情
    Route::post('editEnterPriseInvertedEvidenceData', 'Order/editEnterPriseInvertedEvidenceData');//倒证编辑
    Route::post('delEnterPrisePriseCerInvertedEvidence', 'Order/delEnterPrisePriseCerInvertedEvidence');//倒证删除
    Route::post('editEnterPriseCerInvertedEvidenceSubmit', 'Order/editEnterPriseCerInvertedEvidenceSubmit');//倒证成交
    Route::post('reverseCaseInfoGenerate', 'Order/reverseCaseInfoGenerate');//倒证点击信息生成
    Route::post('registerOver', 'Order/registerOver');//倒证详情点击注册完成


    Route::get('getCerHandle', 'Order/getCerHandle');//证书办理列表
    Route::get('getEnterPriseCerHandleDetails', 'Order/getEnterPriseCerHandleDetails');//证书办理详情
    Route::get('getMainOrderDetails', 'Order/getMainOrderDetails');//证书办理为附属业务时查询主订单详情
    Route::post('editEnterPriseHandle', 'Order/editEnterPriseHandle');//证书办理编辑
    Route::post('delCerHandle', 'Order/delCerHandle');//证书办理删除
    Route::post('createCerHandle', 'Order/createCerHandle');//证书办理确认
    Route::post('completeHandle', 'Order/completeHandle');//证书办理完成

    Route::get('getEnterPriseCerList', 'Order/getEnterPriseCerList');//企业证书列表
    Route::get('getEnterPriseCerBusinessDetails', 'Order/getEnterPriseCerBusinessDetails');//企业证书详情
    Route::get('getFindBusinessDetails', 'Finance/getFindBusinessDetails');//企业证书详情
    Route::post('delEnterPriseCer', 'Order/delEnterPriseCer');//企业证书删除
    Route::post('editEnterPriseCer', 'Order/editEnterPriseCer');//企业证书编辑
    Route::post('editEnterPriseCers', 'Order/editEnterPriseCers');//企业证书第二步
    Route::post('createEnterPriseCer', 'Order/createEnterPriseCer');//企业证书确认
    Route::post('enterBusinessComplete', 'Order/enterBusinessComplete');//企业证书成交
    Route::post('enterBusinessReject', 'Order/enterBusinessReject');//企业证书驳回


    Route::get('getExamineList', 'Finance/getExamineList');//获取审批人 默认财务
    Route::get('getTjzsUidList', 'Order/getTjzsUidList');//获取特价证书审批人
    Route::get('getDealOrderFind', 'Finance/getDealOrderFind');//获取某条订单收付款

    Route::post('addPayMent', 'Finance/addPayMent');//添加付款
    Route::post('delTransaction', 'Finance/delTransaction');//修改收付款
    Route::post('editTransaction', 'Finance/editTransaction');//删除收付款
    Route::post('addCollection', 'Finance/addCollection');//添加收款
    Route::post('editCollection', 'Finance/editCollection');//编辑收付款
    Route::post('pressMoneyInfo', 'Finance/pressMoneyInfo');//添加催款

    Route::get('getCerRegList', 'Finance/getCerRegList');//获取代收付款证书注册订单列表
    Route::get('getCerProcessing', 'Finance/getCerProcessing');//获取代收付款证书办理订单列表
    Route::get('getEnterBusinessDeal', 'Finance/getEnterBusinessDeal');//获取收付款企业证书订单列表


    //个人订单
    Route::get('getThatPersonExamineList', 'Order/getThatPersonExamineList');//个人列表证书审核
    Route::get('getThatPersonEnterPriseCerInvertedEvidenceList', 'Order/getThatPersonEnterPriseCerInvertedEvidenceList');//个人列表证书注册-倒证
    Route::get('getThatPersonEnterPriseCerRegList', 'Order/getThatPersonEnterPriseCerRegList');//个人列表证书注册
    Route::get('getThatPersonDealCerList', 'Order/getThatPersonDealCerList');//个人成交列表证书注册
//    Route::get('getThatPersonCerDetails', 'Order/getThatPersonCerDetails');//个人证书注册详情

    Route::get('getThatPersonCerHandleList', 'Order/getThatPersonCerHandleList');//个人列表证书办理
    Route::get('getThatPersonEnterPriseCerList', 'Order/getThatPersonEnterPriseCerList');//个人列表企业证书
    Route::get('receiptPaymentDetails', 'Order/receiptPaymentDetails');//收付款详情
    Route::get('enterCertPaymentDetails', 'Order/enterCertPaymentDetails');//收付款详情


    //退单
    Route::post('chargeBack', 'Finance/chargeBack');//第一步
    Route::post('revokeChargeback', 'Finance/revokeChargeback');//撤销退单
    Route::get ('getOpInformation','Finance/getOpInformation');//获取退单|注销第一步
    Route::post('chargeBackSupp', 'Finance/chargeBackSupp');//第二步
    Route::post('editCharPerText', 'Finance/editCharPerText');//修改退单以后业绩与原因

    //注销
    Route::post('cerRegLogOff', 'Finance/cerRegLogOff');//第一步
    Route::get ('getOpInformation','Finance/getOpInformation');//获取退单|注销第一步
    Route::post('cerRegLogOffSupp', 'Finance/cerRegLogOffSupp');//第二步


    //续签
    Route::get ('getRenewalOrder','Finance/getRenewalOrder');//获取续签资料
    Route::post ('postRenewal','CertificateRegister/postRenewal');//提交续签
    Route::post ('postDzRenewal','CertificateRegister/postDzRenewal');//提交续签
    //补充公示资料
    Route::post('supplementInfo', 'Order/supplementInfo');
    Route::get('getSupplementInfo', 'Order/getSupplementInfo');//获取证书的补充资料


    /***************************************************************************************************************************************************
     * 财务管理
     */
    //业绩
    Route::get('getPerformanceList', 'Finance/getPerformanceList');//业绩总表
    Route::get('getBusinessFinanceDetails', 'Finance/getBusinessFinanceDetails');//业绩详情
    Route::post('completeBusiness', 'Finance/completeBusiness');//完成业务
    Route::post('backCompletionTime', 'Finance/backCompletionTime');//完成业务点击返回
    Route::post('editDealPerformance', 'Finance/editDealPerformance');//修改业务业绩
    Route::post('setOrderNotes', 'Finance/setOrderNotes');//添加订单备注
    Route::get('getPressMoneyInfo', 'Finance/getPressMoneyInfo');//获取催款记录
    Route::post('delIdFin', 'Finance/delIdFin');//业绩总表删除



    //收款
    Route::get('collectionList', 'Finance/collectionList');//收款列表
    Route::get('collectionDetails', 'Finance/collectionDetails');//收款详情
    //付款
    Route::get('paymentList', 'Finance/paymentList');//付款列表
    Route::get('paymentDetails', 'Finance/paymentDetails');//付款详情

    Route::post('setRefuseText', 'Finance/setRefuseText');//修改日志审批意见
    Route::post('passTransactionOne', 'Finance/passTransactionOne');//通过
    Route::post('passTransaction', 'Finance/passTransaction');//通过
    Route::post('refuseTransaction', 'Finance/refuseTransaction');//拒绝


    /**
     * 业绩统计
     */

    Route::get ('getReportForms','Statistics/getReportForms');//报表中心
    Route::get ('zszcStatistics','Statistics/zszcStatistics');//证书注册统计
    Route::get ('getZszcProportionStatistics','Statistics/getZszcProportionStatistics'); //证书注册占比统计
    Route::get ('getCommission','Statistics/getCommission'); //证书注册占比统计
    Route::get ('getFlowingWater','Statistics/getFlowingWater'); //流水

    /***************************************************************************************************************************************************
     * 系统设置
     */
    //系统信息
    Route::post('settingsInfo', 'SystemSettings/settingsInfo');//系统信息修改
    Route::get('getSettingsInfo', 'SystemSettings/getSettingsInfo');//系统信息查看
    //分支管理
    Route::post('addBranchCompany', 'SystemSettings/addBranchCompany');//分支新增
    Route::get('BranchCompany', 'SystemSettings/branchCompany');//分支查询
    Route::post('editBranchCompany', 'SystemSettings/editBranchCompany');//分支修改
    Route::post('reBranchPassword', 'SystemSettings/reBranchPassword');//分支重置密码
    Route::post('delBranch', 'SystemSettings/delBranch');//分支删除
    Route::post('isED', 'SystemSettings/isED');//启用|禁用

    //组织架构
    Route::get('getOrgStructure', 'SystemOrganizationalStructure/getOrganizationalStructure');//组织架构查询
    Route::post('editOrgStructure', 'SystemOrganizationalStructure/updateOrganizationalStructure');//组织架构修改 Title
    Route::post('addOrgStructure', 'SystemOrganizationalStructure/insertOrganizationalStructure');//组织架构添加
    Route::post('delOrgStructure', 'SystemOrganizationalStructure/deleteOrganizationalStructure');//组织架构删除
    Route::get('getOrgUserList', 'SystemOrganizationalStructure/getOrgUserList');//组织架构成员列表带分页
    Route::get('getOrgUserDetails', 'SystemOrganizationalStructure/getOrgUserDetails');//组织架构成员列表
    Route::post('dataHandover', 'SystemOrganizationalStructure/dataHandover');//数据交接
    Route::get('getUidDataSelect', 'SystemOrganizationalStructure/getUidDataSelect');//获取数据交接下拉框

    //角色权限
    Route::get('getAuthorityList', 'SystemUser/getAuthorityList');//查询职位列表
    Route::get('getPositionPower', 'SystemUser/getPositionPower');//查询职位 可见范围&功能权限提交

    Route::post('addAuthorityName', 'SystemUser/addAuthorityName');//添加职位
    Route::post('updateAuthorityName', 'SystemUser/updateAuthorityName');//修改职位
    Route::post('delAuthority', 'SystemUser/delAuthority');//删除职位
    Route::post('addAuthority', 'SystemUser/setAuthoritysafe');//可见范围&功能权限提交

    //用户管理
    Route::get('getUserLists', 'SystemUser/getUserList');//查询用户列表
    Route::post('addUser', 'SystemUser/addUser');//添加用户
    Route::post('editUser', 'SystemUser/editUser');//修改用户
    Route::post('delUser', 'SystemUser/delUser');//删除用户
    Route::post('rePassword', 'SystemUser/rePassword');//重置用户密码
    Route::post('EnableDisableUser', 'SystemUser/EnableDisableUser');//是否开关操作
    Route::post('systemFinanceUid', 'SystemUser/systemFinanceUid');//审批人开关操作
    Route::post('systemSpecialOffer', 'SystemUser/systemSpecialOffer');//特价证书审批人
    Route::get('getUserPositionSelect', 'SystemUser/getUserPositionSelect');//获取用户职位列表
    Route::get('getUseruOrganizationSelect', 'SystemUser/getUseruOrganizationSelect');//获取用户部门列表
    Route::get('searchUser', 'SystemUser/searchUser');//获取用户部门列表

    //证书管理
    Route::post('addCertificate', 'SystemCertificateBusiness/addCertificate');//添加证书
    Route::post('editCertificates', 'SystemCertificateBusiness/editCertificates');//修改证书
    Route::post('delCertificates', 'SystemCertificateBusiness/delCertificates');//删除证书
    Route::get('getCertificateList', 'SystemCertificateBusiness/getCertificateList');//获取证书列表
    Route::get('getCertificateAllList', 'SystemCertificateBusiness/getCertificateAllList');//获取四级证书列表
    Route::post('eDCertificate', 'SystemCertificateBusiness/eDCertificate');//证书是否开关操作
    Route::get('getLevelToSpeciality', 'SystemCertificateBusiness/getLevelToSpeciality');//查询证书等级子类全部专业

    //业务管理
    Route::get('getBusinessList', 'SystemCertificateBusiness/getBusinessList');//查询业务列表
    Route::post('addBusiness', 'SystemCertificateBusiness/addBusiness');//添加业务
    Route::post('delBusiness', 'SystemCertificateBusiness/delBusiness');//删除业务
    Route::post('editBusiness', 'SystemCertificateBusiness/editBusiness');//修改业务
    Route::get('getUserList', 'SystemCertificateBusiness/getUserList');//查询所有负责人
    Route::post('isBusiness', 'SystemCertificateBusiness/isBusiness');//启用|禁用按钮
    Route::get('businessesSearch', 'SystemCertificateBusiness/businessesSearch');//搜索业务名称
    Route::get('getTypeList', 'SystemCertificateBusiness/getTypeList');//获取业务大分类
    Route::get('getTypeTreeData', 'SystemCertificateBusiness/getTypeTreeData');//归类业务列表


    //动态表单管理
    Route::get('getFromDataList', 'SystemSettings/getFromDataList');//查询动态模板
    Route::post('addFromData', 'SystemSettings/addFromData');//添加动态模板
    Route::post('editFromData', 'SystemSettings/editFromData');//编辑动态模板
    Route::post('delFromData', 'SystemSettings/delFromData');//删除动态模板
    Route::get('getLevelMenu', 'SystemSettings/getLevelMenu');//获取三级菜单

        /**********************************************************
         * 字段管理
         */
        Route::get('getTmpField', 'SystemSettings/getTmpField');//查看模板字段
        Route::post('addTmpField', 'SystemSettings/addTmpField');//添加模板字段
        Route::post('delTmpField', 'SystemSettings/delTmpField');//删除字段
        Route::post('editTmpField', 'SystemSettings/editTmpField');//编辑字段
        Route::get('getEditField', 'SystemSettings/getEditField');//查看要修改的字段
        Route::get('getSesVal', 'SystemSettings/getSesVal');//获取字段添加select值
        Route::get('getOrganizationList', 'SystemSettings/getOrganizationList');//获取组织架构表
        Route::get('getPositionList', 'SystemSettings/getPositionList');//获取角色列表
        Route::get('getUserAssList', 'SystemSettings/getUserAssList');//获取人员列表
        Route::get('getOrgUidList', 'SystemSettings/getOrgUidList');//获取人员带组织架构
        Route::post('EDTmpField', 'SystemSettings/EDTmpField');//字段开关操作
        Route::post('addFieldPower', 'SystemSettings/addFieldPower');//字段开关操作


    //菜单管理
    Route::get('getMenuList', 'SystemSettings/getMenuList');//查询菜单列表
    Route::post('addMenu', 'SystemSettings/addMenu');//添加菜单
    Route::post('editMenu', 'SystemSettings/editMenu');//修改菜单
    Route::post('delMenu', 'SystemSettings/delMenu');//删除菜单

    //操作日志
    Route::get('getLogList', 'SystemLog/getLogList');//删除菜单


    //公告管理
    Route::post('addNotice', 'SystemSettings/addNotice');//添加公告
    Route::post('delNotice', 'SystemSettings/delNotice');//删除公告
    Route::get('getNotice', 'SystemSettings/getNotice');//查看公告
    Route::post('editNotice', 'SystemSettings/editNotice');//修改公告


    //获取当前账号所管理的员工
    Route::get('getManageStaff', 'SystemSettings/getManageStaff');//系统信息修改

    /****************************************************公共接口************************************************************************/

    Route::get('getRegEnterPriseLikeSearch', 'FromButton/getRegEnterPriseLikeSearch');//注册企业名称模糊搜索
    Route::get('getDataPowerUid', 'SystemSettings/getDataPowerUid');//注册企业名称模糊搜索
    Route::get('getUidDepartmentData', 'SystemSettings/getUidDepartmentData');//获取登陆用户直属部门下的所有部门
    Route::get('getBranchManage', 'SystemSettings/getBranchManage');//获取用户分支管理员
    Route::post('fileUp', 'SystemSettings/fileUp');//注册企业名称模糊搜索
    Route::get('getCustom', 'SystemSettings/getCustom');//客户名称模糊搜索
    Route::get('getRemindContent', 'FromButton/getRemindContent');//获取表单定时器内容
    Route::get('GetUserAssStrList', 'SystemSettings/GetUserAssStrList');//获取多部门下所有人
    Route::get('getCerChilds', 'SystemSettings/getCerChilds');//获取多部门下所有人


    Route::get('indexs', 'Index/index2');//获取多部门下所有人
    Route::get('sends', 'Index/sends');//获取多部门下所有人
    Route::get('sends2', 'Index/sends2');//获取多部门下所有人
    Route::get('index3', 'Index/index3');//获取多部门下所有人


});